﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.ComponentModel;
using System.Drawing;

/// <summary>
/// Summary description for PrefilledTextBox
/// </summary>

namespace Pheonix.Fashionzoomer.UI
{
    [DefaultProperty("Text")]
    [SupportsEventValidation, ValidationProperty("Text")]
    [ToolboxData("<{0}:PrefilledTextBox runat=server></{0}:PrefilledTextBox>")]
    public class PrefilledTextBox : TextBox
    {
        private string _prefilText;
        public string PrefilText
        {
            get { return this._prefilText; }
            set { this._prefilText = value; }
        }

        private string _prefilTextCssClass;
        public string PrefilTextCssClass
        {
            get { return this._prefilTextCssClass; }
            set { this._prefilTextCssClass = value; }
        }

        public PrefilledTextBox()
        {
            this.Load += OnLoad;
        }

        protected void OnLoad(object sender, System.EventArgs e)
        {

        }
    }
}
